﻿using ProTrack.Entity;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace ProTrack.IServices.Product
{
    public  interface ISpecServices
    {
        public Task<IEnumerable<Spec>> GetAllAsync();
        public Task<IEnumerable<Spec>> GetAsync(int PageIndex, int PageSize, string Model, string Serial, string Name);
        public Task<int> GetCountAsync(string Model, string Serial, string Name);
        public Task<bool> UpdateAsync(Spec model);
        public Task<bool> AddAsync(Spec model);
        public Task<bool> DeleteAsync(int[] Ids);
        public Task<bool> DeleteAsync(int Id);

    }
}
